// components/dd-list-msg/index.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    list: {type: Array, value: []},
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    onClickList(event) {
      const data = event.currentTarget.dataset.operation;
      this.triggerEvent('clickList', data)
    },
    onClickAvatar(event) {
      const data = event.currentTarget.dataset.operation;
      this.triggerEvent('clickAvatar', data)
    },
    onClickTag3(event) {
      const data = event.currentTarget.dataset.operation;
      this.triggerEvent('clickTag3', data)
    },
  }
})